package com.ruoyi.project.dataanalysis.service.Impl;

import com.ruoyi.project.dataanalysis.entity.*;
import com.ruoyi.project.dataanalysis.mapper.AnalysisMapper;
import com.ruoyi.project.dataanalysis.mapper.MainMapper;
import com.ruoyi.project.dataanalysis.service.AnalysisService;
import com.ruoyi.project.dataanalysis.service.ProblemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 范莹莹
 * @version 1.0
 */
@Service
public class AnalysisServiceImpl implements AnalysisService {
    @Autowired
    AnalysisMapper analysisMapper;

    @Override
    public List<CropQL> selectAllcropByDate(CropQL cropQL) {
        return analysisMapper.selectAllcropByDate(cropQL);
    }

    @Override
    public List<CropCityname> selectCitynameByDate(CropCityname cropCityname) {
        return analysisMapper.selectCitynameByDate(cropCityname);
    }

    @Override
    public List<CropNameByTop> selectNameByTop(CropNameByTop cropNameByTop) {
        return analysisMapper.selectCropNameByTop(cropNameByTop);
    }


}
